<?

require_once  $_SERVER['DOCUMENT_ROOT']."/../_lib/base/common.php";
require_once SITE_ROOT_PATH."/_lib/classes/class.holidays.php";



	$holidays = new holidays();

	$params['nights'] = '7';
	$params['pax_adult'] = '2';
	$params['pax_child'] = '0';
	$params['pax_infant'] = '0';
	$params['departure_date'] = '100307';
	$params['destination_airport'] = 'TLS';
	$params['departure_airport'] = 'BFS';
	//$params['tour_op'] = '7';
	
	//$request = $holidays->create_grq_query($params);
	
	echo $request;
	
	//$results = $holidays->connection_sabs($request,false);
	
	echo($results);

	$request = $holidays->create_cho_query($params);
	
	echo $request;
	
	$results = $holidays->connection_sabs($request,false);
	
	echo($results);




?>